#include <iostream>
#include <string>
using namespace std;

class Data {
public:
    int ival;
    string s;
};

int main() {
    Data data;
    data.ival = 10;
    data.s = "Hello";

    data = { 10, "Hello" };

    cout << data.ival << " " << data.s << endl;

    return 0;
}